package com.bjsxt.ssm.mapper;

import java.util.List;

import com.bjsxt.ssm.bean.TbUserRole;


public interface TbUserRoleMapper {

	void insertTbUserRole(TbUserRole userRole);
	
	TbUserRole selectTbUserRole(TbUserRole userrole);
	
	int deleteTbUserRole(int urid);
	
	void updateTbUserRole(TbUserRole rolename);

	void insertTbUserRole(Integer[] userIds);

	int selectTbUserRole(Integer[] userIds);

	int checkTbUserRole(TbUserRole userRole);
	
	List<TbUserRole> selectTbRoleByUserId(Integer userId);

}
